# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class InstanceVoucher(object):

    def __init__(self, instanceVoucherId=None, name=None, description=None, resourceType=None, reservedType=None, nonReservedVoucher=None, status=None, createdTime=None, charge=None):
        """
        :param instanceVoucherId: (Optional) 实例抵扣券 ID
        :param name: (Optional) 实例抵扣券名称
        :param description: (Optional) 描述
        :param resourceType: (Optional) 产品类型
        :param reservedType: (Optional) 资源分配方式
        :param nonReservedVoucher: (Optional) 非资源预留型实例抵扣券参数
        :param status: (Optional) 实例抵扣券状态 pending, active, expired, deleting
        :param createdTime: (Optional) 创建时间
        :param charge: (Optional) 计费配置信息
        """

        self.instanceVoucherId = instanceVoucherId
        self.name = name
        self.description = description
        self.resourceType = resourceType
        self.reservedType = reservedType
        self.nonReservedVoucher = nonReservedVoucher
        self.status = status
        self.createdTime = createdTime
        self.charge = charge
